﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FPSO.Models.TagMapping
{
    public class TagValue
    {
        public TagValue(long tagId, TypeCode valueType)
        {
            TagId = tagId;
            ValueType = valueType;
            TStamp = DateTime.MinValue;
            Value = null;
        }

        public long TagId { get; private set; }
        public DateTime TStamp { get; set; }
        public object Value { get; set; }
        public TypeCode ValueType { get; set; }
    }
}
